import random

def select_sort(arr):
    if not arr or len(arr) == 0:
        return
    n = len(arr)
    for i in range(n):
        for j in range(i, n):
            if arr[j] < arr[i]:
                arr[j], arr[i] = arr[i], arr[j]

arr = [random.randint(-100, 100) for _ in range(10)]
print(arr)
select_sort(arr)
print(arr)


